Skip to content

Conversation

@iuiaoin
Copy link
Collaborator

@iuiaoin iuiaoin commented Jan 28, 2026

dotnet build outputs compilation errors to stdout, not stderr.
The previous code only captured stderr, resulting in empty error messages
when C# samples failed to build.

Changes:

  • test_hosted_sample.py: Capture both stdout and stderr in build error
    message
  • test-hosted-agents.yml: Print error details from result.json before
    exit 1 in the "Fail if test failed" step

This ensures actual compilation errors (e.g., CS0535 missing interface
implementation) are visible in CI logs instead of just "exit 1".

@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 19:18 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 19:18 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 19:18 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 19:18 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 19:18 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 19:18 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 19:18 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 19:18 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 19:18 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 19:18 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 19:18 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 19:18 — with GitHub Actions Inactive
@iuiaoin iuiaoin had a problem deploying to hosted-agents-test January 28, 2026 19:18 — with GitHub Actions Failure
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 19:18 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 19:18 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 19:18 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 19:29 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 19:29 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 19:29 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 19:29 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 19:29 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 19:29 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 19:29 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 19:29 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 19:29 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 19:29 — with GitHub Actions Inactive
@iuiaoin iuiaoin had a problem deploying to hosted-agents-test January 28, 2026 19:29 — with GitHub Actions Failure
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 19:29 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 19:29 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 19:29 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 19:29 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 19:29 — with GitHub Actions Inactive
@melionel melionel merged commit 1af34f1 into main Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants